package hekh.duoxiancheng0926;

public class Runnable04 implements Runnable{

	@Override
	public void run() {
		for (int i = 0; i < 10; i++) {
			System.out.println(Thread.currentThread().getName()+":"+i);
		}
		
	}
	public static void main(String[] args) {
		Runnable04 r = new Runnable04();
		Thread t = new Thread(r);
		t.start();
	}

}